package com.iespring.bean.admin.configmanager.bo;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;

/**
 * \* Auth: 杨宇健
 * \* Time: 2022/12/31 15:34
 * \* Description:
 * \
 */
@NoArgsConstructor
@Data
public class ConfigWxBo {

    //新品首发栏目商品显示数量
    @Pattern(regexp = "^[1-9]\\d*$", message = "请输入大于0的整数")
    private String market_wx_index_new;
    //专题精选栏目显示数量
    @Pattern(regexp = "^[1-9]\\d*$", message = "请输入大于0的整数")
    private String market_wx_index_topic;
    //商品分享功能
    //@Pattern(regexp = "[true]|[false]]")
    private boolean market_wx_share;
    //品牌制造商直供栏目品牌商显示数量
    @Pattern(regexp = "^[1-9]\\d*$", message = "请输入大于0的整数")
    private String market_wx_index_brand;
    //分类栏目商品显示数量
    @Pattern(regexp = "^[1-9]\\d*$", message = "请输入大于0的整数")
    private String market_wx_catlog_goods;
    //分类栏目显示数量
    @Pattern(regexp = "^[1-9]\\d*$", message = "请输入大于0的整数")
    private String market_wx_catlog_list;
    //人气推荐栏目商品显示数量
    @Pattern(regexp = "^[1-9]\\d*$", message = "请输入大于0的整数")
    private String market_wx_index_hot;
}
